home *** CD-ROM | disk | FTP | other *** search
- // TestVCView.h : interface of the CTestVCView class
- //
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INCLUDES()
- #include "nctwavplayer.h"
- //}}AFX_INCLUDES
-
- #if !defined(AFX_TESTVCVIEW_H__168FB7D5_C8F0_11D3_996E_F25A1847EC26__INCLUDED_)
- #define AFX_TESTVCVIEW_H__168FB7D5_C8F0_11D3_996E_F25A1847EC26__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
-
- #include "MainFrm.h"
-
- class CTestVCView : public CFormView
- {
- protected: // create from serialization only
- CTestVCView();
- DECLARE_DYNCREATE(CTestVCView)
-
- public:
- //{{AFX_DATA(CTestVCView)
- enum { IDD = IDD_TESTVC_FORM };
- CProgressCtrl m_level;
- CProgressCtrl m_block;
- CButton m_agc;
- CSliderCtrl m_balance;
- CSliderCtrl m_volume;
- CSliderCtrl m_gain;
- CNCTWavPlayer m_player;
- //}}AFX_DATA
-
- // Attributes
- public:
- CTestVCDoc* GetDocument();
- CMainFrame* m_frame;
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTestVCView)
- public:
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual void OnInitialUpdate(); // called first time after construct
- //}}AFX_VIRTUAL
-
- // Implementation
- public:
- CString fName;
- virtual ~CTestVCView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- protected:
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CTestVCView)
- afx_msg void OnPlay();
- afx_msg void OnPause();
- afx_msg void OnStop();
- afx_msg void OnRecord();
- afx_msg void OnCut();
- afx_msg void OnCopy();
- afx_msg void OnPaste();
- afx_msg void OnUndo();
- afx_msg void OnRedo();
- afx_msg void OnLeft();
- afx_msg void OnRight();
- afx_msg void OnZoomin();
- afx_msg void OnZoomout();
- afx_msg void OnFull();
- afx_msg void OnAmplinc();
- afx_msg void OnAmpldec();
- afx_msg void OnNull();
- afx_msg void OnNew();
- afx_msg void OnOpen();
- afx_msg void OnSave();
- afx_msg void OnClose();
- afx_msg void OnSaveselect();
- afx_msg void OnFadein();
- afx_msg void OnFadeout();
- afx_msg void OnInvert();
- afx_msg void OnReverse();
- afx_msg void OnNormalize();
- afx_msg void OnMix();
- afx_msg void OnEcho();
- afx_msg void OnStretch();
- afx_msg void OnReleasedcaptureSlider1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnReleasedcaptureSlider2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnReleasedcaptureSlider3(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnCheck1();
- afx_msg void OnChangePlayPos();
- afx_msg void OnChangePos();
- afx_msg void OnEndPlay();
- afx_msg void OnEndRecordBlock();
- afx_msg void OnGainChange();
- afx_msg void OnLoadBlock(short Percent);
- afx_msg void OnOperationBlock(short Percent);
- afx_msg void OnSaveBlock(short Percent);
- afx_msg void OnVolumeChange();
- afx_msg void OnSetup();
- afx_msg void OnConvert();
- afx_msg void OnInssilence();
- afx_msg void OnLevelPlay(long Level);
- afx_msg void OnConvertSample();
- afx_msg void OnCopyClipBoard();
- afx_msg void OnPasteClipBoard();
- afx_msg void OnPasteFromFile();
- afx_msg void OnMixFromFile();
- DECLARE_EVENTSINK_MAP()
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void ShowParam();
- void ClearParam();
-
- long flgPause;
- };
-
- #ifndef _DEBUG // debug version in TestVCView.cpp
- inline CTestVCDoc* CTestVCView::GetDocument()
- { return (CTestVCDoc*)m_pDocument; }
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_TESTVCVIEW_H__168FB7D5_C8F0_11D3_996E_F25A1847EC26__INCLUDED_)
-